MCPcopy Create free account
hub / github.com/Effect-TS/effect / is

Method is

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

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

(unbranded: Brand.Unbranded<B>)

Source from the content-addressed store, hash-verified

81 * `true` if the provided value is a valid branded type, `false` otherwise.
82 */
83 is(unbranded: Brand.Unbranded<B>): unbranded is Brand.Unbranded<B> & B
84
85 /**
86 * The checks that are applied to the branded type.

Callers 15

NpmPromote.tsFile · 0.65
releasePackagesFunction · 0.65
packagesAtBumpFunction · 0.65
deployFunction · 0.65
webhook.tsFile · 0.65
interactions.tsFile · 0.65
envelope.tsFile · 0.65
useSelectedStoreFunction · 0.65
OpenAiClient.tsFile · 0.65

Calls

no outgoing calls

Tested by 7

assertNegativeZeroFunction · 0.52
aFunction · 0.52
sameNumberFunction · 0.52
failedSlotFunction · 0.52
acceptsNegativeFunction · 0.52
propertyFunction · 0.52