Caps.truncate

Discard all but the first structure from caps. Useful when fixating.

This function takes ownership of caps and will call Caps.makeWritable on it if necessary, so you must not use caps afterwards unless you keep an additional reference to it with Caps.ref.

class Caps
truncate
()

Return Value

Type: Caps

truncated caps