MCPcopy
hub / github.com/Effect-TS/effect / is

Method is

packages/effect/src/Brand.ts:110–110  ·  view source on GitHub ↗

* Attempts to refine the provided value of type `A`, returning `true` if * the provided `A` is valid, `false` otherwise.

(a: Brand.Unbranded<A>)

Source from the content-addressed store, hash-verified

108 * the provided `A` is valid, `false` otherwise.
109 */
110 is(a: Brand.Unbranded<A>): a is Brand.Unbranded<A> & A
111 }
112
113 /**

Callers 15

primitive.tsFile · 0.65
isSingleStringTypeFunction · 0.65
isCleanMethod · 0.65
Match.tst.tsFile · 0.65
Schema.tst.tsFile · 0.65
Match.test.tsFile · 0.65
Brand.test.tsFile · 0.65
validateGeneratedValuesFunction · 0.65
testRoundtripConsistencyFunction · 0.65
expectPropertyFunction · 0.65
instanceOf.test.tsFile · 0.65
typeSchema.test.tsFile · 0.65

Calls

no outgoing calls

Tested by 4

expectPropertyFunction · 0.52
getOrderIdFunction · 0.52
assertExtendFunction · 0.52
expectPropertyFunction · 0.52