# STATUS: Untested

Type = require "./internal/Type"

Lazy = module.exports = Type
	name: "Lazy"
	constructor: (fn) ->
		assertType fn, Function
		return setType fn, Lazy

Lazy.validate = (fn) ->
	return (opts, key, value) ->
		opts[key] = fn()

#
# Internal
#

{ setType, assertType } = require "./internal/TypeUtils"
