APIリファレンス(JavaScript)

@baasatrakuza/shared > find

find() function

Signature:

export declare function find<T>(array: T[] | null | undefined, predicate: Predicate<T>): T | null;

Parameters

ParameterTypeDescription
arrayT[] | null | undefined
predicatePredicate<T>

Returns:

T | null