HomePhorge

(PUP-485) Add function assert_type(t, value)
2e4024c5feceUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-485) Add function assert_type(t, value)

This function asserts that the value is an instance of the given type.
The value is returned or an error is raised.

This function use the new 4x function API.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU96f3d9720b3d: (PUP-2035) Make loader infrastructure work for functions
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU2e4024c5fece: (PUP-485) Add function assert_type(t, value) (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Apr 5 2014, 12:39 AM