tryExtract
tryExtract<
T>(…specs):TrySpec<TextendsFluentSpec<S> ?S:T&Spec>
Defined in: extract/spec.ts:740
Try specs in order, returning the first success. If all specs fail, returns the last failure.
Type Parameters
Section titled “Type Parameters”T extends SpecLike
Parameters
Section titled “Parameters”…T[]
Returns
Section titled “Returns”TrySpec<T extends FluentSpec<S> ? S : T & Spec>
Example
Section titled “Example”tryExtract( row.colWhere(header, cell.equals('Ownership')).number(), literal(null))