@nfdi4plants/swate-components
Version:
Customizable React components for ontology annotation, based on Swate and the ARC.
10 lines • 425 B
TypeScript
import { Option } from '@fable-org/fable-library-js/Option.js';
/**
* If function returns `true` then return `Some x` otherwise `None`
*/
export declare function where<$a>(f: ((arg0: $a) => boolean), x: $a): Option<$a>;
/**
* If function return `true` then return `None` otherwise `Some x`
*/
export declare function whereNot<$a>(f: ((arg0: $a) => boolean), x: $a): Option<$a>;
//# sourceMappingURL=Extensions.fs.d.ts.map