MCPcopy
hub / github.com/tinymce/tinymce / some

Method some

modules/katamari/src/main/ts/ephox/katamari/api/Optional.ts:38–40  ·  view source on GitHub ↗

* Creates a new `Optional ` that **does** contain a value.

(this: void, value: T)

Source from the content-addressed store, hash-verified

36 * Creates a new `Optional<T>` that **does** contain a value.
37 */
38 public static some<T>(this: void, value: T): Optional<T> {
39 return new Optional(true, value);
40 }
41
42 /**
43 * Create a new `Optional<T>` that **does not** contain a value. `T` can be

Callers 15

generatorFunction · 0.80
PathPatternTest.tsFile · 0.80
ParrayGetTest.tsFile · 0.80
ParrayFindTest.tsFile · 0.80
generatorFunction · 0.80
sublistFunction · 0.80
matcherFunction · 0.80
FieldSchemaTest.tsFile · 0.80
checkWidthFunction · 0.80
checkRowHeightFunction · 0.80

Calls

no outgoing calls

Tested by 6

storeAdderHFunction · 0.64
TabKeyingWithCyclesFunction · 0.64
InnerLevelFunction · 0.64
TabKeyingInTreeFunction · 0.64
FlowKeyingWithCyclesFunction · 0.64
FlowKeyingWithoutCyclesFunction · 0.64